<!DOCTYPE html>
<html>
    <head>
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'financialDatas.label', default: 'FinancialDatas')}" />
        <title><g:message code="default.create.label" args="[entityName]" /></title>
    </head>
    <body>
        <div class="small-header">
            <div class="hpanel">
                <div class="panel-body">
                    <div id="hbreadcrumb" class="pull-right">
                        <ol class="hbreadcrumb breadcrumb">
                            <li>股票模型</li>
                            <li class="active">
                                <span>财务数据</span>
                            </li>
                        </ol>
                    </div>

                    <h2 class="font-light m-b-xs">
                        财务数据
                    </h2>

                </div>
            </div>
        </div>
        <div class="row">
            <div class="hpanel hblue">
                <div class="panel-heading">
                    新增财务数据
                </div>

                <div class="panel-body">
                    <g:if test="${flash.message}">
                        <div class="message alert alert-info" role="status">${flash.message}
                            <button type="button" class="close" data-dismiss="alert" aria-label="Close"><span
                                    aria-hidden="true">×</span></button>
                        </div>
                    </g:if>
                    <g:hasErrors bean="${this.apply}">
                        <ul class="errors" role="alert">
                            <g:eachError bean="${this.apply}" var="error">
                                <li <g:if test="${error in org.springframework.validation.FieldError}">data-field-id="${error.field}"</g:if>><g:message
                                        error="${error}"/></li>
                            </g:eachError>
                        </ul>
                    </g:hasErrors>
                    <g:form action="save" class="form-horizontal">

                        <div class="form-group">
                            <label class="col-md-1 control-label">备注</label>

                            <div class="col-md-10">
                                <g:textField name="data" maxlength="1024" class="form-control"/>
                            </div>
                        </div>

                        <div class="form-group">
                            <div class="col-md-3 col-md-offset-5">
                                <g:submitButton class="btn btn-info" name="create" value="保存"/>
                            </div>
                        </div>
                        
                    </g:form>
                </div>
            </div>
        </div>
    </div>
    </body>
</html>
